Skip to content

Fix poor color contrast for warning alerts in dark mode#625

Merged
metmarkosaric merged 3 commits into
plausible:masterfrom
Johngeorgesample:fix-warning-dark-mode-contrast
Aug 14, 2025
Merged

Fix poor color contrast for warning alerts in dark mode#625
metmarkosaric merged 3 commits into
plausible:masterfrom
Johngeorgesample:fix-warning-dark-mode-contrast

Conversation

@Johngeorgesample
Copy link
Copy Markdown
Contributor

Summary

This PR improves the readability of warning alerts in dark mode.

The current text/background color combination (#fff8e6 on #ffdd80) fails all WCAG contrast requirements (see contrast check).

This update overrides the styles to use #1c1e21 text on the same background (#ffdd80), which passes all WCAG levels.

Screenshots

Before:
Warning alert before

After:
Warning alert after

@metmarkosaric metmarkosaric merged commit 32cdc49 into plausible:master Aug 14, 2025
1 check passed
@Johngeorgesample Johngeorgesample deleted the fix-warning-dark-mode-contrast branch August 14, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants